// samsting : this file is auto create.

#include "Yundun/2015-04-16/AddCNameWafResponse.h"

namespace aliyun { namespace Yundun {

AddCNameWafResponse::AddCNameWafResponse() {
}

int AddCNameWafResponse::WafInfo::GetId(void) const {
  return Id_;
}

const string& AddCNameWafResponse::WafInfo::GetDomain(void) const {
  return Domain_;
}

const string& AddCNameWafResponse::WafInfo::GetCname(void) const {
  return Cname_;
}

int AddCNameWafResponse::WafInfo::GetStatus(void) const {
  return Status_;
}

const std::vector<AddCNameWafResponse::WafInfo>& AddCNameWafResponse::GetWafInfoList(void) const {
  return WafInfoList_;
}

const char* AddCNameWafResponse::BaseKey(void) {
  return "AddCNameWafResponse";
}

void AddCNameWafResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int WafInfoList__length = 0;
  UnmarshallerInt(WafInfoList__length, response_map, "AddCNameWafResponse.WafInfoList.Length");
  if(WafInfoList__length >= 0) {
    WafInfoList_.resize(WafInfoList__length);
    for(int i1 = 0; i1 < WafInfoList__length; i1++) {
      UnmarshallerInt(WafInfoList_[i1].Id_, response_map, "AddCNameWafResponse.WafInfoList["+string_ValueOfInt(i1)+"].Id");
      UnmarshallerString(WafInfoList_[i1].Domain_, response_map, "AddCNameWafResponse.WafInfoList["+string_ValueOfInt(i1)+"].Domain");
      UnmarshallerString(WafInfoList_[i1].Cname_, response_map, "AddCNameWafResponse.WafInfoList["+string_ValueOfInt(i1)+"].Cname");
      UnmarshallerInt(WafInfoList_[i1].Status_, response_map, "AddCNameWafResponse.WafInfoList["+string_ValueOfInt(i1)+"].Status");
    } // for(int i1 = 0; i1 < WafInfoList__length; i1++) {
  } // if(WafInfoList__length >= 0) {

}


} } // namespace aliyun { namespace Yundun {

// end of file 
